home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interactive Media Design Review 1999
/
Interactive Media Design Review 1999.iso
/
pc
/
Demos
/
Bombardier_PC
/
DATACH.CST
/
00052_Script_52
< prev
next >
Wrap
Text File
|
1999-03-07
|
876b
|
31 lines
property thePopLoc, popSprite2, popName, mySprite, faraway, fieldObj
on new me
set mySprite = the spriteNum of me
set popSprite2 = mySprite - 2
puppetSprite popSprite, true
return me
end
on mouseUp
global togglestate
set the member of sprite popsprite2 to "light2"
set togglestate = 1
set compair = the text of member "disPlane"
set the member of sprite popsprite2 - 2 to "imperial2"
set the member of sprite popsprite2 - 1 to "metric1"
MainSpecs
if (length(compair) > 2) and (compair<>"No Competitor") then
DisSpecs compair
end if
end
on mouseEnter
set the member of sprite popsprite2 to "light2h"
end mouseEnter
on mouseLeave
global togglestate
if togglestate = 0 then
set the member of sprite popsprite2 to "light1"
else
set the member of sprite popsprite2 to "light2"
end if
end mouseLeave